// import Mock from 'mockjs'
export default [
  {
    url: '/merchant/getMerchantList',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": {
          "pageNum": 1,
          "pageSize": 1,
          "total": 1,
          "pages": 1,
          "list": [
            {
              "id": 1,
              "name": "同仁堂",
              "merchantNo": "110-0938475",
              "mobile": "18380206575",
              "status":1,
              "accountBank": "招商银行",
              "accountNumber": "7890 23456782 2345",
            },
            {
              "id": 2,
              "name": "永辉",
              "merchantNo": "111-0938475",
              "status":0,
              "mobile": "18380206575",
              "accountBank": "招商银行",
              "accountNumber": "7890 23456782 2345",
            }
          ]
        }
      }
    }
  },
  {
    url: '/merchant/addMerchant',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": "null"
      }
    }
  },
  {
    url: '/merchant/updateMerchant',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": "null"
      }
    }
  },
  {
    url: '/merchant/getMerchantDetail',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": {
          "id": 1,
          "name": "同仁堂",
          "merchantNo": "110-0938475",
          "mobile": "18380206575",
          "accountBank": "招商银行",
          "accountNumber": "7890 23456782 2345",
          "accountBankName": '招商银行',
          "accountName": '伍晓英',
          "status": '',
          "manageType": '自营',
          "businessImgUrl": 'http://www.baidu.com',
          "gspImgUrl": 'http://www.baidu.com',
          "licenseImgUrl": 'http://www.baidu.com'
        }
      }
    }
  }
]
